package br.com.cjweb.email.javabean;

import java.io.Serializable;

import br.com.cjweb.util.javabean.EntidadeBean;
import br.com.cjweb.util.lang.StringUtil;
import br.com.cjweb.util.validar.ValidarObjeto;

public class EmailBean extends EntidadeBean implements Serializable
{
	private static final long serialVersionUID = 1L;
	private String emailDescricao;
	
	public EmailBean()
	{
		
	}

	public String getEmailDescricao()
	{
		return emailDescricao;
	}

	public void setEmailDescricao(String emailDescricao)
	{
		if (ValidarObjeto.isStringValida(emailDescricao))
			this.emailDescricao = StringUtil.getStringEspacoExcedente(emailDescricao);
		else
			this.emailDescricao = "";
	}
}
